package com.wgc.user.feign;

import com.wgc.entity.Result;
import com.wgc.user.domain.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("user")
public interface UserFeign {
    /**
     * 条件查询用户表
     * @param iUser
     * @return
     */
    @PostMapping("/user/selectList")
    public Result<List<User>> select(@RequestBody User iUser);
}
